<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="./css/list.css">
    <title>Document</title>
</head>

<body>
    <!-- 工具栏 -->
    <div class="toolbar">
        <form>
            按标题：<input type="text" class="search-box"> <button class="search-btn">搜索</button>
        </form>
        <p><button class="add">添加</button></p>
    </div>

    <!-- 产品列表 -->
    <div class="list">
        <table>
            <thead>
                <tr>
                    <th>Id</th>
                    <th>标题</th>
                    <th>hot</th>
                    <th>图片地址</th>
                    <th>编辑</th>
                    <th>删除</th>
                </tr>
            </thead>
            <tbody class="cont">
                <!-- <tr>
          <td>Id</td>
          <td>title</td>
          <td>hot</td>
          <td><img src="https:" alt=""></td>
          <td><button data-id=1 class="edit">编辑</button></td>
          <td><button data-id=1 class="del">删除</button></td>
        </tr> -->
            </tbody>
        </table>
    </div>

    <div class="mask"></div>
    <!-- 添加 -->
    <div class="add-pannel">
        <p>商品标题： <input type="text" class="title"></p>
        <p>商品图片： <input type="text" class="imgUrl" value="//cdn.cnbj1.fds.api.mi-img.com/mi-mall/f941386e72f745b02e8921b6c8055cd6.jpg?thumb=1&w=40&h=40&f=webp&q=90"></p>
        <p>是否热销商品:
            <input type="radio" name="hot" checked="checked" value="1" class="hot">是<input type="radio" name="hot" value="0">不是</p>
        <p><button class="add-btn">添加商品</button></p>
    </div>

    <script src="./js/util.js"></script>
    <script src="./js/list.js"></script>
</body>

</html>